#!/usr/bin/env python
# -*- coding: utf-8 -*-
# Perform hot backups of oGRACDB databases.
# Copyright © Huawei Technologies Co., Ltd. 2010-2018. All rights reserved.
import sys
from ograc_uninstall import oGRAC

if __name__ == "__main__":
    Func = oGRAC()
    try:
        Func.ograc_check_status()
    except ValueError as err:
        exit(str(err))
    except Exception as err:
        exit(str(err))
    sys.exit(0)
